package com.bandi.tharshesnows.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class Resort extends PersistentModel {

  private County county;

  private String name;

  private double averageSnowHeight;

  private String degrees;

  private Date updated;

  private List<Skirun> skiruns = new ArrayList<Skirun>();

  private boolean starred;

  private String weatherImagePath;

  public Resort(County county) {
    super();
    this.county = county;
  }

  public String getWeatherImagePath() {
    return weatherImagePath;
  }

  public void setWeatherImagePath(String weatherImagePath) {
    this.weatherImagePath = weatherImagePath;
  }

  public double getAverageSnowHeight() {
    return averageSnowHeight;
  }

  public void setAverageSnowHeight(double averageSnowHeight) {
    this.averageSnowHeight = averageSnowHeight;
  }

  public String getDegrees() {
    return degrees;
  }

  public void setDegrees(String degrees) {
    this.degrees = degrees;
  }

  public boolean isStarred() {
    return starred;
  }

  public void setStarred(boolean starred) {
    this.starred = starred;
  }

  public County getCounty() {
    return county;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public List<Skirun> getSkiruns() {
    return skiruns;
  }

  public void setSkiruns(List<Skirun> slopes) {
    this.skiruns = slopes;
  }

  public Date getUpdated() {
    return updated;
  }

  public void setUpdated(Date updated) {
    this.updated = updated;
  }

  @Override
  public String toString() {
    return "Resort [county=" + county.getName() + ", name=" + name + ", averageSnowHeight=" + averageSnowHeight
        + ", degrees=" + degrees + ", weatherImagePath=" + weatherImagePath + "]";
  }

}
